<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title>赛事管理模块</title>
		<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css"/>
		<link rel="stylesheet" type="text/css" href="../css/bootstrapValidator.css"/>
		<link rel="stylesheet" type="text/css" href="../css/game-manager.css"/>
	</head>
	<body>
		<!--导航条开始-->
		<nav class="navbar navbar-default navbar-fixed-top">
			<div class="container">
				<div class="navbar-header">
					<a class="navbar-brand" href="#"><img src="../img/logo.png" alt="logo"/></a>
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse">
						<!--<span class="sr-only">切换导航</span>-->
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
				</div>
				<div class="collapse navbar-collapse" id="navbar-collapse">
					<ul class="nav navbar-nav navbar-left">
						<li class="active"><a href="game-manager.html"><span class="glyphicon glyphicon-home"></span> 赛事管理 </a></li>	
					</ul>
						<p class="navbar-text navbar-right"><a class="navbar-link" data-toggle="modal"href="#changePassword">修改密码</a></p>
				</div>
			</div>
		</nav>
		<!--导航条结束-->
		
		<!--内容一开始-->
		<div class="eq-tab1">
			<div class="container">
				<h2 class="eq-tab1-h2">体育馆赛事情况</h2>
				<form class="form-inline eq-tab1-form">
					<div class="form-group">
						<label class=" control-label">查询赛事:</label>
						<input class="form-control" type="text" name="gameName" id="gameName"placeholder="例如：篮球赛" />
						<input class=" btn btn-success" id="search-game" type="button" value="查询"/>
						<input class=" btn btn-danger" id="add-game"  type="button" data-toggle="modal" data-target="#addGame" value="增加赛事"/>
					</div>
				</form>
				
				
				
				<div class="game-table">
					<table class="table table-bordered table-hover">
					<tr>
						<th class="text-center">订单ID</th>
						<th class="text-center">赛事名称</th>
						<th class="text-center">开始时间</th>
						<th class="text-center">借宿时间</th>
						<th class="text-center">下单时间</th>
						<th class="text-center">场地信息</th>
						<th class="text-center">器材信息</th>
						<th class="text-center">账户信息</th>
						<th class="text-center">审核</th>
					</tr>
				</table>
				</div>
					
			</div>
		</div>
		<!--内容一结束-->
		<!--<a title="changeA" href="#">aaa</a>-->
		
		
		
		
		<!--底部footer开始-->
		<footer id="footer" class="text-muted bottom">
			<div class="containe">
				<p>管理系统 | 合作联系</p>
				<p>503工作室.体育光管理系统。Powered by Bootstrap</p>
			</div>
		</footer>
		<!--底部footer结束-->
		
		
		<!--预约赛事模态框开始-->
		<div class="modal" id="addGame" tabindex="-1">
        	<div class="modal-dialog">
        		<div class="modal-content">
        			<div class="modal-header">
        				<button type="button" class="close" data-dismiss="modal">
        					<span>&times;</span>
        				</button>
        				<h4 class="modal-title">赛事预约</h4>
        			</div>
        			<div class="modal-body">
        				<form  class="form-group" id="game-form">
        					<div class="form-group">
								<label class="center" for="matchName">赛事名称:</label>
								<input class="form-control center" type="text" name="matchName" id="matchName" placeholder="赛事名称" />
							</div>
							<div class="form-group">
								<label class="center" for="borrowAccount">用户账号:</label>
								<input class="form-control center" type="text" name="borrowAccount" id="borrowAccount" placeholder="用户账号" />
							</div>
							<div class="form-group">
								<label class="center" for="borrowName">用户名称:</label>
								<input class="form-control center" type="text" name="borrowName" id="borrowName" placeholder="用户名称" />
							</div>
							<div class="form-group">
								<label class="center" for="startTime">开始时间:</label>
								<input class="form-control center" type="text" name="startTime" id="start" placeholder="开始时间" />
							</div>
							<div class="form-group">
								<label class="center" for="endTime">结束时间:</label>
								<input class="form-control center" type="text" name="endTime" id="endTime" placeholder="结束时间" />
							</div>
							<div class="form-group">
								<label class="center" for="telephone">联系方式:</label>
								<input class="form-control center" type="text" name="telephone" id="telephone" placeholder="联系方式" />
							</div>
							<h5 class="place-h5">预定器材</h5>
							<div class="form-group">
								<label class="center" for="equipmentid">器材名称:</label>
								<select class="form-control" id="eq-select">
									<option value="1">篮球</option>
									<option value="2">羽毛球</option>
									<option value="3">排球</option>
									<option value="4">橄榄球</option>
									<option value="5">乒乓球</option>
								</select>
							</div>
							<div class="form-group">
								<label class="center" for="number">器材数量:</label>
								<input class="form-control center" type="text" name="number" id="number" placeholder="输入器材数量" />
							</div>
							<h5 class="place-h5">预定场地</h5>
							<div class="form-group">
								<label class="center" for="placeId">场地名称:</label>
								<select class="form-control" id="place-select">
									<option value="1">乒乓球</option>
									<option value="2">羽毛球场</option>
									<option value="3">排球场</option>
									<option value="4">游泳馆</option>
									<option value="5">篮球场</option>
								</select>
							</div>
		        				</form>
		        			</div>
		        			<div class="modal-footer">
		        				<button type="button" class="btn btn-primary" id="addGame-btn">提交申请</button>
		        				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button></div>
		        			</div>
        		</div>
        	</div>
       </div>
		<!--预约赛事模态框结束-->
		
		
	<!--场地情况开始-->
		<div class="modal" id="placeDetails" tabindex="-1">
        	<div class="modal-dialog">
        		<div class="modal-content">
        			<div class="modal-header">
        				<button type="button" class="close" data-dismiss="modal">
        					<span>&times;</span>
        				</button>
        				<h4 class="modal-title">场地详情</h4>
        			</div>
        			<div class="modal-body">
        				<form  class="form-group" id="details-form">
        					<div class="form-group">
								<label class="center" for="placeId">场地编号:</label>
								<input class="form-control center" type="text" name="placeId" id="placeId" />
							</div>
							<div class="form-group">
								<label class="center" for="placeName">场地名称:</label>
								<input class="form-control center" type="text" name="placeName" id="placeName" />
							</div>
							<div class="form-group">
								<label class="center" for="placeMoney">场地租金:</label>
								<input class="form-control center" type="text" name="placeMoney" id="placeMoney" />
							</div>
        				</form>
        			</div>
        		</div>
        	</div>
       </div>
		<!--场地情况结束-->
		
		<!--器材情况开始-->
		<div class="modal" id="eqDetails" tabindex="-1">
        	<div class="modal-dialog">
        		<div class="modal-content">
        			<div class="modal-header">
        				<button type="button" class="close" data-dismiss="modal">
        					<span>&times;</span>
        				</button>
        				<h4>器材详情</h4>
        			</div>
        			<div class="modal-body">
        				<form  class="form-group" id="details-form">
        					<div class="form-group">
								<label class="center" for="eqId">器材编号:</label>
								<input class="form-control center" type="text" name="eqId" id="eqId" />
							</div>
							<div class="form-group">
								<label class="center" for="eqName">器材名称:</label>
								<input class="form-control center" type="text" name="eqName" id="eqName" />
							</div>
							<div class="form-group">
								<label class="center" for="eqNum">数量:</label>
								<input class="form-control center" type="text" name="eqNum" id="eqNum" />
							</div>
        				</form>
        			</div>
        		</div>
        	</div>
       </div>
		<!--场器材情况结束-->
		
		
		<!--账户情况开始-->
		<div class="modal" id="userDetails" tabindex="-1">
        	<div class="modal-dialog">
        		<div class="modal-content">
        			<div class="modal-header">
        				<button type="button" class="close" data-dismiss="modal">
        					<span>&times;</span>
        				</button>
        				<h4>详情</h4>
        			</div>
        			<div class="modal-body">
        				<form  class="form-group" id="details-form">
        					<div class="form-group">
								<label class="center" for="uesrId">用户ID:</label>
								<input class="form-control center" type="text" name="uesrId" id="uesrId" />
							</div>
							<div class="form-group">
								<label class="center" for="userName">用户名称:</label>
								<input class="form-control center" type="text" name="userName" id="userName" />
							</div>
							<div class="form-group">
								<label class="center" for="tel">联系方式:</label>
								<input class="form-control center" type="text" name="tel" id="tel" />
							</div>
        				</form>
        			</div>
        		</div>
        	</div>
       </div>
		<!--场器材情况结束-->
		
		
		
		<!--修改密码框开始-->	
		<div class="modal" id="changePassword" tabindex="-1">
        	<div class="modal-dialog">
        		<div class="modal-content">
        			<div class="modal-header">
        				<button type="button" class="close" data-dismiss="modal">
        					<span>&times;</span>
        				</button>
        				<h4 class="modal-title">密码修改</h4>
        			</div>
        			<div class="modal-body">
        				<form class="form-group" id="changePasswordModal">
        					<div class="form-group">
								<label for="oldPassword">新密码:</label>
								<input type="text" name="oldPassword" class="form-control" id="oldPassword" placeholder="请输入旧密码" />
							</div>
							<div class="form-group">
								<label for="changePassword">新密码:</label>
								<input type="text" name="changePassword" class="form-control" id="changePassword" placeholder="请输入新密码" />
							</div>
							<div class="form-group">
								<label for="repChangePassword">确认新密码:</label>
								<input type="text" name="repChangePassword" class="form-control" id="repChangePassword" placeholder="再输入一次密码" />
							</div>
        				</form>
        			</div>
        			<div class="modal-footer">
        				<button type="button" class="btn btn-primary" id="changPasswordBtn">确认</button>
        				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button></div>
        			</div>
        		</div>
        	</div>
      </div>
		<!--修改密码框结束-->	
		
		
		
		<script src="../js/jquery-3.2.1.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/bootstrapValidator.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/game-manager.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
